package com.suray.wcs.service.resmap;

public class YmodelData {
	//标志
	private byte sign;
	//序号
	private int order;
	//补码
	private int complement;
	//数据
	private byte[]  data;
	//校验1
	private byte xor1;
	//校验2
	private byte xor2;
	
	public YmodelData(byte sign, int order, int complement, byte[] data, byte xor1, byte xor2) {
		super();
		this.sign = sign;
		this.order = order;
		this.complement = complement;
		this.data = data;
		this.xor1 = xor1;
		this.xor2 = xor2;
	}
	
	public YmodelData() {
		super();
	}

	public byte getSign() {
		return sign;
	}
	public void setSign(byte sign) {
		this.sign = sign;
	}
	
	public int getOrder() {
		return order;
	}
	public void setOrder(int order) {
		this.order = order;
	}
	public int getComplement() {
		return complement;
	}
	public void setComplement(int complement) {
		this.complement = complement;
	}
	public byte[] getData() {
		return data;
	}
	public void setData(byte[] data) {
		this.data = data;
	}
	public byte getXor1() {
		return xor1;
	}
	public void setXor1(byte xor1) {
		this.xor1 = xor1;
	}
	public byte getXor2() {
		return xor2;
	}
	public void setXor2(byte xor2) {
		this.xor2 = xor2;
	}
			
}
